<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>计算器</title>
</head>
<body>
<!-- 表单中的所有东西都是用来提交的吗 -->
<form action="http://localhost:8080/user/sum">
    <h1>计算器</h1>
    数字1：<input type="text" name="num1"><br>
    数字2：<input type="text" name="num2"><br>
    <input type="submit" value="点击相加">
</form>



</body>
</html>
